#{extends 'main.html' /}
#{set title:web.siteName /}

#{if frontPost}
   
   	#{display post:frontPost, as:'home' /}
   	
    #{if olderPosts.size() > 1}
        <div class="older-posts">    
            <h3>Older posts <span class="from">from this blog</span></h3>
        
            #{list items:olderPosts, as:'oldPost'}
           			#{display post:oldPost, as:'teaser' /}
            #{/list}
        </div>
        
    #{/if}
    
#{/if}
 
#{else}
    <div class="empty">
       	作者还没发布过文章.
    </div>
#{/else}